home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / PROGRAMR / OLE2BOOK.ZIP / CHAP05.ZIP / CHAP05 / SMASHER / SMASHER.H < prev    next >
C/C++ Source or Header  |  1993-03-16  |  1KB  |  44 lines

  1. /*
  2.  * SMASHER.H
  3.  *
  4.  * Definitions and function prototypes for the file manager extesion
  5.  * SMASHER.DLL.
  6.  *
  7.  * Copyright (c)1993 Microsoft Corporation, All Rights Reserved.
  8.  *
  9.  * Kraig Brockschmidt, Software Design Engineer
  10.  * Microsoft Systems Developer Relations
  11.  *
  12.  * Internet  :  kraigb@microsoft.com
  13.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  14.  *
  15.  */
  16.  
  17.  
  18. //Resource identifiers
  19. #define IDR_BITMAP          1
  20. #define IDR_MENU            1
  21.  
  22. //Menu constants
  23. #define IDS_SMASH           1
  24. #define IDS_SMASHHELP       100
  25. #define IDM_SMASH           1
  26.  
  27.  
  28. //Cheap strings
  29. #define SZSMASHER               "Compound File Smasher"
  30. #define SZERRNOTACOMPOUNDFILE   "Smasher cannot defragment %s.\n\rNot a compound file."
  31. #define SZERRTEMPFILE           "Could not create an intermediate file.\n\rCheck disk space and your TEMP environment variable."
  32. #define SZERROPENFAILED         "Could not access %s for defragmentation.\n\rFile could be locked."
  33. #define SZERRTEMPFILECOPY       "Could not write to intermediate file.\n\rCould be out of disk space or memory."
  34. #define SZERRTEMPHASFILE        "Failure to overwrite file.  Defragemented version can be found in\r\n%s."
  35.  
  36.  
  37. //SMASHER.CPP
  38. BOOL SmashSelectedFiles(HWND);
  39.  
  40. extern "C"
  41.     {
  42.     HMENU FAR PASCAL FMExtensionProc(HWND hWnd, UINT iMsg, LONG lParam);
  43.     }
  44.